package quickSort;

public class GreaterEqualsSorterStarted<T extends Comparable<? super T>> extends QuickSorterState<T>{
	
	private final QuickSorter<T> greaterEqualsSorter;

	public GreaterEqualsSorterStarted(final QuickSorter<T> greaterEqualsSorter) {
		this.greaterEqualsSorter = greaterEqualsSorter;
	}

	@Override
	public void accept(final QuickSortStateVisitor<T> quickSortStateVisitor) {
		quickSortStateVisitor.visit(this);
	}

	public QuickSorter<T> getGreaterEqualSorter() {
		return greaterEqualsSorter;
	}

}
